package DomainLayer;

public class Rank extends AbstractValueObject{

    String rank;

    public Rank(){
        super();
        rank = null;
    }

    public Rank(Rank currentState, Object... changes){
        super(currentState, changes[0]);
        rank = (changes[1] != null ? ((String) changes[1]).toString()
                : currentState.rank);
    }

    public String getRank(){
        return rank;
    }
}
